
package com.jojoteamwork.photo.ui;

import com.uucun.adsdk.UUAppConnect;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;

public class MagazineActivity extends FragmentActivity {

    private static final String TAG = "MagazineFragment";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        UUAppConnect.getInstance(this).initSdk();
        if (getSupportFragmentManager().findFragmentByTag(TAG) == null) {
            final FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
            ft.add(android.R.id.content, new MagazineFragment(), TAG);
            ft.commit();
        }
    }

}
